package com.system.jfm.Components;

import javax.swing.JOptionPane;

public class Message {
    public Message(String msg,String title){
        JOptionPane.showMessageDialog(null,msg,title,JOptionPane.WARNING_MESSAGE);
    }
    public Message(String msg){
        JOptionPane.showMessageDialog(null,msg,"警告",JOptionPane.WARNING_MESSAGE);
    }
}
